package chap3_9;

import java.util.Scanner;

public class Exer3_9_2 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("输入一个正整数：");
        int num =input.nextInt();
        int i=2;
        for(i=2;i<num+1;i++){
            while(num%i==0&&num!=i) {
               num/=i;
                System.out.print(i+"*");
            }
            if(num==i){
                System.out.println(i);
                break;
            }
        }

    }
}
